package com.tanhua.manage.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.tanhua.domain.db.UserInfo;
import org.apache.ibatis.annotations.Update;

public interface StateMapper extends BaseMapper<UserInfo> {

    @Update("update tb_user_info set user_status = 1 where id = #{userId}")
    void updateState(Integer userId);
}
